import request from '@/utils/request'
// import qs from 'qs'

export function getListPage(params) {
  return request({
    url: '/operate/confRotation/listPage',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8',
      'pageNum': params.pageNum,
      'pageSize': params.pageSize
    },
    method: 'get',
    params: params
  })
}
export function updateLunbo(data) {
    return request({
      url: '/operate/confRotation',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'put',
      data
    })
  }
  export function addLunbo(data) {
    return request({
      url: '/operate/confRotation',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'POST',
      data
    })
  }